home *** CD-ROM | disk | FTP | other *** search
- $include "regnames.inc"
-
- CLS
- REG %AX,&H3
-
- CALL INTERRUPT &H10
- color 3
- x$=string$(32000,chr$(176))
- ?x$;
-
- reg %ax,0
- call interrupt &H33
-
- reg %ax,8
- reg %cx,0
- reg %dx,24*8
- call interrupt &H33
-
- reg %ax,7
- reg %cx,0
- reg %dx,79*8
- call interrupt &H33
-
- REG %AX,1
- call interrupt &H33
-
- while inkey$=""
- reg %ax,3
- call interrupt &H33
- locate 1,1
- x%=reg(%cx)
- y%=reg(%dx)
- x%=x%/8%
- y%=y%/8%
- ?x%,y%
- wend